<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libcpuid</Name>
        <Homepage>https://github.com/theZiz/libcpuid</Homepage>
        <Packager>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Packager>
        <License>MPL LGPL</License>
        <Icon>libcpuid</Icon>
        <IsA>library</IsA>
        <Summary>A small C library for x86 CPU detection and feature extraction</Summary>
        <Description>libcpuid is a small C library for x86 CPU detection and feature extraction.</Description>
        <Archive sha1sum="18ae642f719692e1f3f1de64d95f2dd71e06e8b2" type="targz">https://github.com/anrieff/libcpuid/releases/download/v0.6.0/libcpuid-0.6.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>ninja</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>glibc-devel</Dependency>
            <Dependency>python3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libcpuid</Name>
        <RuntimeDependencies>
            <Dependency>python3</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/libcpuid*</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libcpuid-devel</Name>
        <Summary>Development files for libcpuid</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libcpuid</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib/cmake/cpuid</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="1">
            <Date>2022-09-17</Date>
            <Version>0.6.0</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
